new moses script working fine