Changed and creating functions that will be used in order to only use the automator from the terminal
Making changes and cleaning up along the way