Added detection of buildpack to import environment vars