1. made changes to invoke restore in linux env. 2. repaired shell script for linux.