script at the end now