move script wrapper from waterbear