Added cdproject and moved postactivate