remove amazon specific code from package