single bash deploy script and it properly sets permissions now