Fixed Unix version. should now work perfectly. will work on windows version later.