change sleep time on mem script