Clean up script init def