turned script into module