remove unused state
remove debug console logs
the user that executed the command is now applied rather than passed in as the first arg