Convert script in to script module