reset path for assets and define base_path