tweaking to work with opsworks