Added some scripts from the EWS/RBM project.