get folder where init script is located