(#149) Restructure if/elses

- Create structure such that, based on whether on develop/master, with or without pull request, appropriate task is called
- Also, when running locally, just do what is normally done