Make sure to look for the path separator when replacing the base_path