Prepare script module