separating helper methods from main workflow in setup dev environment script