fixed bash functions and updated travis settings
updated