change url
move all charts to /charts
handle /charts and /charts/
Move flags to environment variable