Initial commit to get the commands written. Next step is to do a bit more checking.