added show/hide commands to lua api