added -f option to add frontend packages