Detect file being run by node use node convension