small modifications, switched file permissions