bad experience with getting path from bin script