Made a main for amd package style require