First commit of the RAW script (not ready to use)