Added required node modules and extra checks