permission fix in titan script