Tested and fixed recetly modified y_commands code.