fixed paths
download function working well and automatically