change script to module