Base Ruby Script
Second commit
Small fixes