adds metascript class