fixed name syntax, added "main" property