fixed jboss path bug and changed from script resource to execute