add link to log dir + fix permissions for scripts