ruby env and basic options for script