Updated premake formula