Updated prerm script