Tidy up Prepend function, add STATUS command