Allows Command line run in the right environment