fixed some permissions issues that were bugging me