Get this stuff outta bash