added compass rails support