added functions to run startup commands in terminal
removed terminalWithCommand from the library as it is very specific to my setup