programming c and other random scripts