changing permissions and adding repo fixing to startup script