diff --git a/lib/icomoon-phantomjs.js b/lib/icomoon-phantomjs.js
index <HASH>..<HASH> 100644
--- a/lib/icomoon-phantomjs.js
+++ b/lib/icomoon-phantomjs.js
@@ -7,14 +7,20 @@ var casper = require('casper').create({
 casper.start('http://icomoon.io/app');
 
 // Wait for loading to complete
-casper.waitFor(function waitForLoadingComplete () {
-  // Wait until div#loading no longer exists
-  return this.evaluate(function () {
-    return !document.getElementById('loading');
-  });
+casper.waitWhileVisible('#loading');
+
+// Submit many images (need a file path for all our images)
+var files = ['test/test_files/eye.svg'];
+casper.then(function () {
+  console.log('abc', this.evaluate(function (file) {
+    $('#files').val(file);
+    $('#files').change();
+    return file;
+  }, files[0]));
 });
 
-// TODO: Submit many images (need a file path for all our images)
+// casper.wait(5000);
+
 // TODO: Export our font
 // TODO: Extract variables (if specified)
Going for short-term of getting this working first before talking directly to backend