change to custom script for supervisor, cd to sql lib