Fix indentation, add autoload cookies