file relocation, added delete instance script and command validation