changed script import. fixed awsConfig dependency