Smoothing flask and making things a little more lessjs