added permissions to run as script in unix