Corrected module creation script