change srv and fix generation script program
add error handling program in move function
Merge pull request #164 from irvs/issue148

Issue148