Added npm and ruby condition