Fixing script path and build