Generator command is now working