update

just making it cleaner and use more accepted bash commands.