Fix for Linux start and environment scripts