Dynamic Resolutions

Added dynamic resolutions.