Added gpexcommand and fixed stuff.