Fixed database settings
Added script which removes old posts