compile metascript files