fixed issues with running npm/bower installs