Made all required changes to pass credentials from ENV and added logged steps