fixed backup subroutine bug
added backup test option
Initial commit