permission changes and updates to startup script