fix for running on linux single executable
fixes for linux single executable