cleaned up and added bash files
added functions