Fixing issues with robot loading (jar still not tested)