Fixing path when running simulation from command line.