Uses run command based on environment