Moved before to a script