add command_tricks
finish python not so obvious stuff