some scripts in mac