Clean up SLITS command handler and make it work