chmod; changes to output