Updated #!/bin/bash