use autoshelve and the mq plugin.