Using require.resolve() to lookup the location of shifter vs hardcoding the path where shifter is installed

Using require.resolve() to lookup the location of shifter vs hardcoding the path where shifter is installed