Fixed logger and script require, fixing rspec