Removed secret key, fixed paths and other small fixes