Setting the script as executable as well as making directories an array load.