Moving hook to command (what it really is) and preparing for real hook