add script for sleeping