changing to allow for non-root user to run script