added control actions and environment variables