Add support for assets directory and multiple environments