updates dependencies
sets exec permission on script