add script for supervisor