Use METASSEMBLE_DIR variable instead of SCRIPTDIR