Changed some permissions issues