added initial installation routine, fixed testing post-commands