renamed; made minifiable; added 'dist' output