read task command from environment variable