some scripts fo machinas