user_cleanup_script updated for mysql backends