look for resource scripts in /opt instead of /tmp

persisting things in /tmp is kind of counterintuitive.