Fixing bash files